<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心-{$ur_here}</title>
<link href="__DOMAIN__css/admin/main.css" rel="stylesheet" type="text/css"/>
<script language="javascript" type="text/javascript" src="__DOMAIN__js/jquery.js"></script>
</head>

<body>
<include file="header" />
<div class="list-div">
  <div style="background:#FFF; padding: 20px 50px; margin: 2px;">
    <table align="center" width="400" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50" valign="top">
          <if condition="$msg_type eq 0">
          <img src="__DOMAIN__images/admin/information.gif" width="32" height="32" border="0" alt="information" />
          <elseif condition="$msg_type eq 1" />
          <img src="__DOMAIN__images/admin/warning.gif" width="32" height="32" border="0" alt="warning" />
          <else />
          <img src="__DOMAIN__images/admin/confirm.gif" width="32" height="32" border="0" alt="confirm" />
          </if>
        </td>
        <td style="font-size: 14px; font-weight: bold">{$msg_detail}</td>
      </tr>
      <tr>
        <td></td>
        <td id="redirectionMsg">
          <if condition="$auto_redirect">{$Think.lang.auto_redirection} </if>
        </td>
      </tr>
      <tr>
        <td></td>
        <td>
          <ul style="margin:0; padding:0 10px" class="msg-link">
            <foreach name="links" item="link">
            <li><a href="{$link.href}">{$link.text}</a></li>
            </foreach>
          </ul>

        </td>
      </tr>
    </table>
  </div>
</div>
<if condition="$auto_redirect">
<script language="JavaScript">
<!--
var seconds = 3;
var defaultUrl = "{$default_url}";

onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    $('#redirectionMsg').html('');
    return;
  }

  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.clearInterval();
    return;
  }

  seconds --;
  $('#spanSeconds').html(seconds);

  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>
</if>
<include file="footer" />
</body>
</html>
